how to remove debug tag in flutter

144

// Add debugShowCheckedModeBanner: false to your Material
return new MaterialApp(
	debugShowCheckedModeBanner: false,
    theme: new ThemeData(
      primarySwatch: Colors.green,
    ),
    //...
);
MaterialApp(
 debugShowCheckedModeBanner: false
)
void main() {
  runApp(
    MaterialApp( 
      debugShowCheckedModeBanner: false,
      home: MyApp()
    )
  );
}

Comments

Submit
0 Comments